ProxyDescriptor

StockSharp.Xaml.Charting.Ultrachart.ChartSettingsObjectBase`1

チャート要素プロパティのPropertyDescriptorクラスを特化。

継承元: NamedPropertyDescriptor

コンストラクター

ProxyDescriptor
protected ProxyDescriptor(string name, object owner, T origObj, IEnumerable<Attribute> attributes, Func<T, PropertyDescriptor, bool> selector)
proxyDescriptor = ProxyDescriptor(name, owner, origObj, attributes, selector)

インスタンスを作成します。

プロパティ

Attributes
public override AttributeCollection Attributes { get; }
value = proxyDescriptor.Attributes

属性。

ComponentType
public override Type ComponentType { get; }
value = proxyDescriptor.ComponentType
IsReadOnly
public override bool IsReadOnly { get; }
value = proxyDescriptor.IsReadOnly

ICollection が読み取り専用かどうかを示す値を取得します。

戻り値: 場合は、ICollection が読み取り専用です。 それ以外の場合は、 .

Owner
public object Owner { get; }
value = proxyDescriptor.Owner

親オブジェクト。

PropertyType
public override Type PropertyType { get; }
value = proxyDescriptor.PropertyType

プロパティタイプ。

メソッド

CanResetValue
public override bool CanResetValue(object c)
result = proxyDescriptor.CanResetValue(c)
CreateWrapper
protected abstract ChartSettingsObjectBase<T> CreateWrapper(T obj, Func<T, PropertyDescriptor, bool> selector)
result = proxyDescriptor.CreateWrapper(obj, selector)

オブジェクト用のチャート設定オブジェクトラッパーを作成します。

GetValue
public override object GetValue(object c)
result = proxyDescriptor.GetValue(c)
ResetValue
public override void ResetValue(object c)
proxyDescriptor.ResetValue(c)
SetValue
public override void SetValue(object c, object value)
proxyDescriptor.SetValue(c, value)
ShouldSerializeValue
public override bool ShouldSerializeValue(object c)
result = proxyDescriptor.ShouldSerializeValue(c)